from django.db import models

class Comp(models.Model):
    com_id = models.CharField(max_length=5)
    status_com = models.CharField(max_length=10)
    brok_occur = models.CharField(max_length=50)
    
    def __unicode__(self):
        return self.com_id

class fix_com(models.Model):
    com_id_fix = models.CharField(max_length=5)
    date_fix = models.CharField(max_length=30)
    fixer = models.CharField(max_length=30)

    def __unicode__(self):
        return self.com_id_fix
